package com.bruce.demo1.principles.demo1.ocp.demo2;

/**
 * @PROJECT_NAME design_patterns
 * @DESCRIPTION 客户端
 * @AUTHOR CNBruceLee
 * @DATE 2021/6/17 13:26
 */
public class Test {
    public static void main(String[] args) {
        //1、创建搜狗输入法
        SougouInput input = new SougouInput();
        //2、创建皮肤
        BruceSkin skin = new BruceSkin();
        //3、set皮肤
        input.setSkin(skin);
        //4、调用
        input.display();
    }

}
